Skip to content

通过商户协议号解除委托代扣签约协议

商户可通过本接口解约委托代扣签约协议。前置条件 对应的委托代扣签约协议是已生效状态的委托代扣签约协议。 官方文档

js
wxpay
.
v3
.
papay
.
sign
.
partner
.
contracts
.
planId
.
_plan_id_
.
outContractCode
.
_out_contract_code_
.
terminate
.
post
({
sub_mchid
,
contract_termination_remark
,
}, {
plan_id
,
out_contract_code
, })
.
then
(
({
data
: {
contract_id
,
sp_mchid
,
sp_appid
,
sub_mchid
,
sub_appid
,
plan_id
,
out_contract_code
,
contract_display_account
,
contract_state
,
contract_signed_time
,
contract_expired_time
,
sp_openid
,
sub_openid
,
contract_terminate_info
,
out_user_code
,
deduct_schedule
,
}, }) => ({
contract_id
,
sp_mchid
,
sp_appid
,
sub_mchid
,
sub_appid
,
plan_id
,
out_contract_code
,
contract_display_account
,
contract_state
,
contract_signed_time
,
contract_expired_time
,
sp_openid
,
sub_openid
,
contract_terminate_info
,
out_user_code
,
deduct_schedule
,
}) )

Released under the MIT License. (SITEMAP)